<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite App</title>
  </head>
  <body>
    <!-- <div id="root"></div>
    <script type="module" src="/src/main.jsx"></script> -->
      <a href="#a1">hello单车</a>
      <a href="#a2">zou</a>
    <div  style="height: 3000px; background-color: green;">返回头部</div>
  <a id="a1" style="background-color: yellow;">跳转</a>
  <div  style="height: 3000px; background-color: rgb(72, 26, 189);">返回头部</div>
  <a id="a2" style="background-color: rgb(225, 31, 86);">跳转</a>
  <script>
    window.onhashchange=function(event){
      console.log(event)
    }
  </script>
  </body>
</html>
